package com.hmall.mapper;

import com.hmall.model.BiUserAnalysis;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface BiUserAnalysisMapper extends MyMapper<BiUserAnalysis> {

    Integer selectCountByUsername(@Param("username") String username, @Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("dataType") String dataType);

    Integer selectCountByIp(@Param("ip") String ip, @Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("dataType") String dataType);
}